package cards;

import model.Player;

public abstract class Card {
	private String text;

	public Card(String text) {
		this.text = text;
	}

	public abstract void execute(Player player);

	public String getText() {
		return this.text;
	}

	@Override
	public String toString() {
		return "Card [text=" + this.text + "]";
	}
}
